<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>demo</title>
</head>
<body>
</body>
<script type="text/javascript">
    // 指数运算符
    console.log(2 ** 3); // 8
    console.log(2 ** 3 ** 2); // 512
    let a = 1.5;
a **= 2;
// 等同于 a = a * a;
let b = 4;
b **= 3;
// 等同于 b = b * b * b;
console.log(a); // 2.25
console.log(b); // 64
</script>
</html>